package com.ysqcould.allocation.domain;


import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 自动认证会员数据对象 t_wx_user_contacts
 * 
 * @author ruoyi
 * @date 2022-06-30
 */
public class WxUserContacts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 协会id */
    @Excel(name = "协会id")
    private Long asId;

    /** 团体/企业名称 */
    @Excel(name = "团体/企业名称")
    private String companyName;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 姓名拼音 */
    @Excel(name = "姓名拼音")
    private String namePy;

    /** '性别：1男，2女', */
    @Excel(name = "'性别：1男，2女',")
    private Long sex;

    /** 会内职务 */
    @Excel(name = "会内职务")
    private String internalJob;

    /** 企业职务 */
    @Excel(name = "企业职务")
    private String companyJob;

    /** 社会职务 */
    @Excel(name = "社会职务")
    private String societyJob;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 办公电话 */
    @Excel(name = "办公电话")
    private String phone;

    /** 手机 */
    @Excel(name = "手机")
    private String mobile;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 会员类型：0平台会员（平台），1个人会员（协会），2企业会员（协会），3团体会员（协会） */
    @Excel(name = "会员类型：0平台会员", readConverterExp = "平=台")
    private Long vipType;

    /** 是否是老会员：0不是，1是 */
    @Excel(name = "是否是老会员：0不是，1是")
    private Long isOld;

    /** 微信ID */
    @Excel(name = "微信ID")
    private String openid;

    /** 状态（字典 0正常 1冻结 2删除） */
    @Excel(name = "状态", readConverterExp = "字=典,0=正常,1=冻结,2=删除")
    private Long status;

    /** 行业id */
    @Excel(name = "行业id")
    private Long tradeId;

    /** 地址名称及坐标 */
    @Excel(name = "地址名称及坐标")
    private String addrCoords;

    /** 补充地址 */
    @Excel(name = "补充地址")
    private String detailedAddress;

    /** 会员分类 */
    @Excel(name = "会员分类")
    private Long articleType;

    /** 会员所属分类 */
    @Excel(name = "会员所属分类")
    private String contactsType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAsId(Long asId) 
    {
        this.asId = asId;
    }

    public Long getAsId() 
    {
        return asId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNamePy(String namePy) 
    {
        this.namePy = namePy;
    }

    public String getNamePy() 
    {
        return namePy;
    }
    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }
    public void setInternalJob(String internalJob) 
    {
        this.internalJob = internalJob;
    }

    public String getInternalJob() 
    {
        return internalJob;
    }
    public void setCompanyJob(String companyJob) 
    {
        this.companyJob = companyJob;
    }

    public String getCompanyJob() 
    {
        return companyJob;
    }
    public void setSocietyJob(String societyJob) 
    {
        this.societyJob = societyJob;
    }

    public String getSocietyJob() 
    {
        return societyJob;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setVipType(Long vipType) 
    {
        this.vipType = vipType;
    }

    public Long getVipType() 
    {
        return vipType;
    }
    public void setIsOld(Long isOld) 
    {
        this.isOld = isOld;
    }

    public Long getIsOld() 
    {
        return isOld;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setTradeId(Long tradeId) 
    {
        this.tradeId = tradeId;
    }

    public Long getTradeId() 
    {
        return tradeId;
    }
    public void setAddrCoords(String addrCoords) 
    {
        this.addrCoords = addrCoords;
    }

    public String getAddrCoords() 
    {
        return addrCoords;
    }
    public void setDetailedAddress(String detailedAddress) 
    {
        this.detailedAddress = detailedAddress;
    }

    public String getDetailedAddress() 
    {
        return detailedAddress;
    }
    public void setArticleType(Long articleType) 
    {
        this.articleType = articleType;
    }

    public Long getArticleType() 
    {
        return articleType;
    }
    public void setContactsType(String contactsType) 
    {
        this.contactsType = contactsType;
    }

    public String getContactsType() 
    {
        return contactsType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("asId", getAsId())
            .append("companyName", getCompanyName())
            .append("name", getName())
            .append("namePy", getNamePy())
            .append("sex", getSex())
            .append("internalJob", getInternalJob())
            .append("companyJob", getCompanyJob())
            .append("societyJob", getSocietyJob())
            .append("address", getAddress())
            .append("phone", getPhone())
            .append("mobile", getMobile())
            .append("email", getEmail())
            .append("vipType", getVipType())
            .append("isOld", getIsOld())
            .append("openid", getOpenid())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("tradeId", getTradeId())
            .append("addrCoords", getAddrCoords())
            .append("detailedAddress", getDetailedAddress())
            .append("articleType", getArticleType())
            .append("contactsType", getContactsType())
            .toString();
    }
}
